From 9493f2c425977f6c1b1ce4408e8d26e24beaacb6 Mon Sep 17 00:00:00 2001 From: justbur Date: Thu, 1 Oct 2015 20:22:37 -0400 Subject: [PATCH] Revert preserve-size setting on buffer It's preventing the buffer from automatically shrinking --- which-key.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/which-key.el b/which-key.el index b7d8bb04f9f..524517cae28 100644 --- a/which-key.el +++ b/which-key.el @@ -752,8 +752,7 @@ call signature in different emacs versions" "Show which-key buffer when popup type is side-window." (let* ((side which-key-side-window-location) (alist '((window-width . which-key--fit-buffer-to-window-horizontally) - (window-height . (lambda (w) (fit-window-to-buffer w nil 1))) - (preserve-size . (t . t))))) + (window-height . (lambda (w) (fit-window-to-buffer w nil 1)))))) ;; Note: `display-buffer-in-side-window' and `display-buffer-in-major-side-window' ;; were added in Emacs 24.3 -- 2.30.2